/*
 *成绩
 */

#include<stdio.h>

int main() {
	printf("输入成绩:");
	int score = 0;
	scanf("%d", &score);
	if (score <= 100 && score >= 90) {
		printf("成绩优\n");
	}
	else if (score / 10 == 8) {
		printf("成绩良\n");
	}
	else if (score / 10 == 7) {
		printf("成绩中\n");
	}
	else if (score / 10 == 6) {
		printf("成绩差\n");
	}
	else if (score <= 59 && score >= 0) {
		printf("成绩不及格\n");
	}
	else {
		printf("非法数字\n");
	}
	return 0;
}
